summaryrefslogtreecommitdiffstats
path: root/commit.sh
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-04-16 23:52:54 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-17 13:42:38 +0530
commit1873d0bdb53af0311e8ad344116c0923448a6ff5 (patch)
tree30496cb9f05a8c77781233db5c617d44bad816cc /commit.sh
parent79215d4f2487e6db87e5fd637f0262037c1d230b (diff)
libglusterfsclient: Check for directory on O_CREAT
If we have received an O_CREAT for a name where that basename is a directory, and if we have successfully looked up the inode for this directory, then we can check for S_ISDIR in libglusterfsclient and prevent sending a message to the server through libgf_client_creat. See also the comment inline. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'commit.sh')
0 files changed, 0 insertions, 0 deletions