]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ocfs2: implement i_op->permission
authorTiger Yang <tiger.yang@oracle.com>
Mon, 27 Nov 2006 01:59:21 +0000 (09:59 +0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Sat, 2 Dec 2006 02:29:14 +0000 (18:29 -0800)
commitd38eb8db6aa359c060dfb72a29cf8d94a96657d8
tree3d27b15ae8fc1718030147a2ed08812c902a7b2e
parent58d206c2fa5cc0b35bf3ca48324d7633aa7d0412
ocfs2: implement i_op->permission

Implement .permission() in ocfs2_file_iops, ocfs2_special_file_iops and
ocfs2_dir_iops.

This helps us avoid some multi-node races with mode change and vfs
operations.

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/file.c
fs/ocfs2/file.h
fs/ocfs2/namei.c