X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fattr.c;h=7ee7ba48831358f7bf4f738a13c20511dcdd1698;hb=68d99b2c8efcb6ed3807a55569300c53b5f88be5;hp=538e27959d3f7fec79a8a0647723830b2bb4a5b4;hpb=04a8752485e450124f92c9b931d268b48d75650a;p=~andy%2Flinux diff --git a/fs/attr.c b/fs/attr.c index 538e27959d3..7ee7ba48831 100644 --- a/fs/attr.c +++ b/fs/attr.c @@ -13,6 +13,7 @@ #include #include #include +#include /** * inode_change_ok - check if attribute changes to an inode are allowed @@ -237,8 +238,10 @@ int notify_change(struct dentry * dentry, struct iattr * attr) else error = simple_setattr(dentry, attr); - if (!error) + if (!error) { fsnotify_change(dentry, ia_valid); + evm_inode_post_setattr(dentry, ia_valid); + } return error; }